package com.pzhuweb.sgblog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pzhuweb.sgblog.domain.dto.MenuDto;
import com.pzhuweb.sgblog.domain.entity.Menu;
import com.pzhuweb.sgblog.domain.utils.ResponseResult;

/**
 * @author 鄧浩奇
 * @classname SystemMenuService
 * @description
 * @since 2023/8/23 13:50
 **/

public interface SystemMenuService extends IService<Menu> {
    ResponseResult<?> treeSelect();

    ResponseResult<?> roleMenuTreeSelect(Long id);

    ResponseResult<?> getMenuList(String menuName, String status);

    ResponseResult<?> addMenu(Menu menuDto);

    ResponseResult<?> getMenuDetails(Long menuId);

    ResponseResult<?> updateMenu(MenuDto menuDto);

    ResponseResult<?> deleteMenuById(Long menuId);
}
